<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>MiXiM: DeciderResult Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">MiXiM
   &#160;<span id="projectnumber">2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00075.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">DeciderResult Class Reference<div class="ingroups"><a class="el" href="a00512.html">decider - decider modules</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="DeciderResult" -->
<p>A class to represent the result of a processed packet (that is not noise) by the <a class="el" href="a00070.html" title="The basic Decider class.">Decider</a>.  
 <a href="a00075.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00291_source.html">Decider.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DeciderResult:</div>
<div class="dyncontent">
<div class="center"><img src="a00706.png" border="0" usemap="#DeciderResult_inherit__map" alt="Inheritance graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00707.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a86937859a140dbe670d6fa3a2f6f839a"></a><!-- doxytag: member="DeciderResult::DeciderResult" ref="a86937859a140dbe670d6fa3a2f6f839a" args="(bool isCorrect=true)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00075.html#a86937859a140dbe670d6fa3a2f6f839a">DeciderResult</a> (bool <a class="el" href="a00075.html#a73068fc2669c331401e00fd985ced574">isCorrect</a>=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the <a class="el" href="a00075.html" title="A class to represent the result of a processed packet (that is not noise) by the Decider.">DeciderResult</a> with the passed bool, or true if omitted. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0ff5bc718c64668cb1ce09c2c7dba80"></a><!-- doxytag: member="DeciderResult::isSignalCorrect" ref="aa0ff5bc718c64668cb1ce09c2c7dba80" args="() const " -->
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00075.html#aa0ff5bc718c64668cb1ce09c2c7dba80">isSignalCorrect</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A Function that returns a very basic result about the <a class="el" href="a00192.html" title="The signal class stores the physical representation of the signal of an AirFrame.">Signal</a>. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00075.html#a73068fc2669c331401e00fd985ced574">isCorrect</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class to represent the result of a processed packet (that is not noise) by the <a class="el" href="a00070.html" title="The basic Decider class.">Decider</a>. </p>
<p>It stores information (i.e. basically whether a packet has been received correctly) for the MACLayer that is handed up to the MACLayer by the <a class="el" href="a00173.html" title="Provides initialisation for several AnalogueModels and Deciders from modules directory.">PhyLayer</a> together with the received packet. (see also <a class="el" href="a00079.html" title="This class is the interface for a Decider to the BasePhyLayer.">DeciderToPhyInterface</a>)</p>
<p>You can subclass <a class="el" href="a00075.html" title="A class to represent the result of a processed packet (that is not noise) by the Decider.">DeciderResult</a> to create a more detailed result. </p>
</div><hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a73068fc2669c331401e00fd985ced574"></a><!-- doxytag: member="DeciderResult::isCorrect" ref="a73068fc2669c331401e00fd985ced574" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="a00075.html#a73068fc2669c331401e00fd985ced574">DeciderResult::isCorrect</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Stores if the AirFrame for this result was received correct. </p>

<p>Referenced by <a class="el" href="a00075.html#aa0ff5bc718c64668cb1ce09c2c7dba80">isSignalCorrect()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/phyLayer/<a class="el" href="a00291_source.html">Decider.h</a></li>
<li>D:/Projects/MiXiM/extsrc/mixim/src/base/phyLayer/Decider.cc</li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00075.html">DeciderResult</a>      </li>

    <li class="footer">Generated on Tue Mar 5 2013 21:26:32 for MiXiM by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
